﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CaiyinSoft.NetGather.Protocol
{
    public interface IHTMLPublisher
    {
        /// <summary>
        /// 发布资源
        /// </summary>
        /// <param name="HTMLFilters"></param>
        void Publish(Dictionary<int, string> HTMLList, IHTMLAnalyzer HTMLAnalyzer);
        void PublishListData(Dictionary<int, string> HTMLList, IHTMLAnalyzer HTMLAnalyzer);
        Dictionary<string, List<FilterResult>> GetAnalyzer(Dictionary<int, string> HTMLList, IHTMLAnalyzer HTMLAnalyzer);
        Dictionary<string, List<FilterResult>> GetAnalyzer(string html, IHTMLAnalyzer HTMLAnalyzer);
        InnerFormBase GetEditForm();
    }
}
